package com.zjb.zjbHome.controllers;

import java.util.List;

import com.alibaba.fastjson.JSON;
import com.jfinal.core.Controller;
import com.zjb.zjbHome.model.model.Url;

public class indexController extends Controller {
	
	public void index() {
		List<Url> listUrl = Url.dao.search();
		this.setAttr("listUrl", JSON.toJSONString(listUrl));
		this.renderJsp("index.jsp");
	}

}
